import Vue from 'vue'
import Router from 'vue-router'
import {nav} from './nav'
import {centers} from './center'
import {details} from './detail'

Vue.use(Router)

export default new Router({
    mode:'history',
    routes: [
        ...nav,
        ...centers,
        ...details
    ]
})